//
//  JQSettingItem.h
//  JQKit
//
//  Created by JQZ on 2017/12/29.
//  Copyright © 2017年 JQZ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define JQCreateSettingItem(ImageNamed, Title, SubTitle) \
    [JQSettingItem itemWithImageName:ImageNamed title:Title subTitle:SubTitle]

@interface JQSettingItem : NSObject

/**
 *  左图片(本地)
 */
@property (nonatomic, copy) NSString *imageName;

/**
 *  主标题
 */
@property (nonatomic, strong) NSString *title;

/**
 *  副标题
 */
@property (nonatomic, strong) NSString *subTitle;

/**
 *  右图片(本地)
 */
@property (nonatomic, strong) NSString *rightImagePath;

/**
 *  是否显示箭头（默认YES）
 */
@property (nonatomic, assign) BOOL showDisclosureIndicator;

/**
 *  停用高亮（默认NO）
 */
@property (nonatomic, assign) BOOL disableHighlight;

/**
 *  Item 操作callback
 */
@property (nonatomic, strong) void(^itemOpertion)(UITableViewCell *cell, JQSettingItem *item);

- (NSString *) cellClassName;

+ (instancetype)itemWithImageName:(NSString *)imageName title:(NSString *)title subTitle:(NSString*)subTitle;

@end
